const mongoose = require('mongoose');

const htDiarySchema = new mongoose.Schema({
    date:{
        type:String,
        required:true
    },
    content:{
        type:String,
        required:true,
    },
    ltcomment:{
        type:String,
        default:"无"
    },
    ytcomment:{
        type:String,
        default:"无"
    },
    ptcomment:{
        type:String,
        default:"无"
    },
    ztcomment:{
        type:String,
        default:"无"
    },
    lsycomment:{
        type:String,
        default:"无"
    },
    explain:{
        type:String,
        default:"无"
    },
})

const htDiary = mongoose.model('htDiary',htDiarySchema);

module.exports = htDiary;